<?php
	$ID=$_GET['ID'];
	$s="select * from user where id=".$ID;
	$res=mysql_query($s);
	$r=mysql_fetch_array($res);
?>
<form name="f" method="post" action="include/userProc.php?act=edit&ID=<?php echo $r['id'];?>">
<table align="center" >
	<tr>
		<td colspan="2">Sửa thông tin tài khoản</td>
	</tr>
	<tr>
		<td>Tên</td>
		<td><input type="text" name="user" value="<?php echo $r['name'] ?>"/></td>
	</tr>
	<tr>
		<td>Mật khẩu mới</td>
		<td><input type="password" name="pass"/></td>
	</tr>
	<tr>
		<td>Xác nhận mật khẩu</td>
		<td><input type="password" name="pass1"/></td>
	</tr>
	<tr>
		<td colspan="2">
			<input type="submit" name="apply" value="Chấp nhận" onClick="return userEdit();" />
			<input type="button" name="goBack" value="Trở lại" onClick="back();" />
		</td>
	</tr>
</table>
</form>
